package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_shrek_building", desc = "史莱克学院/恶人谷-区域升级&扩建日志", autoSave = true, uploadCk = true)
public class LogShrekBuilding extends ServerBaseLog{
    @FieldTypeAnnotation(isIndex = true,desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(isIndex = true,desc = "玩家id")
    private long userId;
    @FieldTypeAnnotation(desc = "建筑id")
    private int buildingId;
    @FieldTypeAnnotation(desc = "技能类型")
    private int skillType;
    @FieldTypeAnnotation(desc = "技能等级")
    private int level;
    @FieldTypeAnnotation(desc = "消耗")
    private String consume;


    public LogShrekBuilding(int activityId, long userId, int buildingId, int skillType, int level, String consume) {
        this.activityId = activityId;
        this.userId = userId;
        this.buildingId = buildingId;
        this.skillType = skillType;
        this.level = level;
        this.consume = consume;

    }

    public int getActivityId() {
        return activityId;
    }

    public long getUserId() {
        return userId;
    }

    public int getBuildingId() {
        return buildingId;
    }

    public int getSkillType() {
        return skillType;
    }

    public int getLevel() {
        return level;
    }

    public String getConsume() {
        return consume;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public void setBuildingId(int buildingId) {
        this.buildingId = buildingId;
    }

    public void setSkillType(int skillType) {
        this.skillType = skillType;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public void setConsume(String consume) {
        this.consume = consume;
    }
}
